#include "RoadUtil.h"


void TSerialize(std::vector<uint8_t>& byteArray, bool data)
{
	int saveData = data ? 1 : 0;
	TSerialize(byteArray, saveData);
}


size_t TDeserialize(void* pSrc, bool& data)
{
	int loadData = 0;
	auto ret = TDeserialize(pSrc, loadData);
	data = loadData ? true : false;
	return ret;
}